package com.ww.scm.valueObject;


import com.ww.scm.entity.AbstractEntity;

public abstract class ValueObject {

	//主键
	protected String id;
	//备注
	protected String remark;
	//系统标识
	protected String sysFlag;
	//创建人
	protected String creator;
	//创建时间
	protected String createTime;
	//最后修改人
	protected String lastModifier;
	//最后修改时间
	protected String lastModifiedTime;
	
	public ValueObject() {
		
	}
	
	public ValueObject(AbstractEntity entity) {
		this.id=entity.getId();
		this.remark=entity.getRemark();
		this.sysFlag=entity.getSysFlag();
		this.creator=entity.getCreator();
		this.createTime=entity.getCreateTime();
		this.lastModifier=entity.getLastModifier();
		this.lastModifiedTime=entity.getLastModifiedTime();
	}
	
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	public String getSysFlag() {
		return sysFlag;
	}
	public void setSysFlag(String sysFlag) {
		this.sysFlag = sysFlag;
	}
	public String getCreator() {
		return creator;
	}
	public void setCreator(String creator) {
		this.creator = creator;
	}
	public String getCreateTime() {
		return createTime;
	}
	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}
	public String getLastModifier() {
		return lastModifier;
	}
	public void setLastModifier(String lastModifier) {
		this.lastModifier = lastModifier;
	}
	public String getLastModifiedTime() {
		return lastModifiedTime;
	}
	public void setLastModifiedTime(String lastModifiedTime) {
		this.lastModifiedTime = lastModifiedTime;
	}
	
	
}
